﻿<Window x:Class="UI.Windows.OptionsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:engine="clr-namespace:WPFLocalizeExtension.Engine;assembly=WPFLocalizeExtension" 
        xmlns:lex="clr-namespace:WPFLocalizeExtension.Extensions;assembly=WPFLocalizeExtension"
        xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase"
        xmlns:propertyGrid="clr-namespace:Xceed.Wpf.Toolkit.PropertyGrid;assembly=Xceed.Wpf.Toolkit"
        engine:LocalizeDictionary.DesignCulture="en" ResizeMode="NoResize" ShowInTaskbar="False"
        Name="This"
        Title="{lex:Loc RAE:Strings:Options}" SizeToContent="Height" Width="300" Icon="/RAE;component/Resources/Icons/Options.ico">
    
    <DockPanel>
        <UniformGrid DockPanel.Dock="Bottom" Columns="2">
            <Button Content="{lex:Loc RAE:Strings:OK}" Margin="3" Background="WhiteSmoke" IsDefault="True" Click="OkButtonClick"/>
            <Button Content="{lex:Loc RAE:Strings:Cancel}" Margin="3" Background="WhiteSmoke" IsCancel="True" Click="CancelButtonClick"/>
        </UniformGrid>
        <propertyGrid:PropertyGrid Name="OptionsPropertyGrid" SelectedObject="{Binding ElementName=This, Path=Options, diagnostics:PresentationTraceSources.TraceLevel=High}" ShowSearchBox="False" ShowSortOptions="False" Background="WhiteSmoke" Margin="3"/>
    </DockPanel>
</Window>
